<?php
	$model=new model();
	$userEmail=$_POST['userEmail'];
	$user=$model->searchUserByMail($email);
	$userId=$user->getUserID();
	$model->deleteUser($userId);
?>